//
//  EPOSSysuserError.m
//  BCGenieEffect
//
//  Created by Ios Entity Generator on 2014-03-04 16:38:27
//  Copyright (c) 2014年 Bartosz Ciechanowski. All rights reserved.
//

#import "EPOSSysuserError.h"

@implementation EPOSSysuserError

+(id) getEPOSSysuserErrorFromDictionary :(NSDictionary *) dic {
    EPOSSysuserError * sysuserError = [[EPOSSysuserError alloc]init] ;
    sysuserError.Result = [dic objectForKey:@"Result"];
    sysuserError.ErrMessage = [dic objectForKey:@"ErrMessage"];
    sysuserError.SysUsers = [dic objectForKey:@"SysUsers"];
    sysuserError.ErrSysTrackMessage = [dic objectForKey:@"ErrSysTrackMessage"];
    sysuserError.ErrSysMessage = [dic objectForKey:@"ErrSysMessage"];
    sysuserError.Message = [dic objectForKey:@"Message"];
    sysuserError.Shops = [dic objectForKey:@"Shops"];
    return sysuserError ;
}

+(NSMutableDictionary *) getDictionaryFromEPOSSysuserError :(EPOSSysuserError* ) sysuserError {
    NSMutableDictionary * dic = [[NSMutableDictionary alloc]init] ;
    [dic setObject:sysuserError.Result forKey:@"Result"];
    [dic setObject:sysuserError.ErrMessage forKey:@"ErrMessage"];
    [dic setObject:sysuserError.SysUsers forKey:@"SysUsers"];
    [dic setObject:sysuserError.ErrSysTrackMessage forKey:@"ErrSysTrackMessage"];
    [dic setObject:sysuserError.ErrSysMessage forKey:@"ErrSysMessage"];
    [dic setObject:sysuserError.Message forKey:@"Message"];
    [dic setObject:sysuserError.Shops forKey:@"Shops"];
    return dic ;
}

@end